package jdk8.lambda.why;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2020-06-06 21:08
 */

public class StudentAgePredicate implements StudentPredicate {
    @Override
    public boolean filter(Student student) {
        return student.getAge() > 20;
    }
}
